package main

import "fmt"

type AInterface interface {
	Test()
	TestA()
}

type BInterface interface {
	Test()
	TestB()
}

type CInterface interface {
	AInterface
	BInterface
}

type Stu struct {
}

func (stu Stu) Test() {
	fmt.Println("Test01")

}
func (stu Stu) TestA() {
	fmt.Println("Test02")
}
func (stu Stu) TestB() {
	fmt.Println("Test03")
}

func main() {

	var stu Stu = Stu{}
	var c CInterface = stu
	fmt.Println(c)
	c.Test()
	c.TestA()
	c.TestB()
}
